package com.hu.common.domain.dto;

import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName SocketMessageDTO
 * @Description socket通讯消息体
 * @author 355760
 **/
@Data
public class SocketMessageDTO implements Serializable {

    private static final long serialVersionUID = -1059277398541486207L;

    // 消息头
    private SocketMessageHeaderDTO header;

    // 消息体
    private Object body;

    public SocketMessageHeaderDTO getHeader() {
        return header;
    }


}
